package com.demo.demo2.beans;

import com.demo.util.excel.annotations.ExcelColumn;
import com.demo.util.excel.enums.ExcelDataType;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@Data
@AllArgsConstructor
public class CityChannelVO {

    @ExcelColumn(value = "城市", field = "cityInfo.city", cellStyle = "cityCellStyle")
    private String city;

    @ExcelColumn(value = "城市目标", field = "cityInfo.targetCount", dataType = ExcelDataType.INTEGER)
    private Integer targetCount;

    @ExcelColumn(value = "城市达成数", field = "cityInfo.achievedCount", dataType = ExcelDataType.INTEGER)
    private Integer achievedCount;

    @ExcelColumn(value = "城市退租数", field = "cityInfo.unusedCount", dataType = ExcelDataType.INTEGER)
    private Integer unusedCount;

    @ExcelColumn(value = "城市退租数", field = "cityInfo.achievedRate", cellStyle = "rateCellStyle")
    private String achievedRate;

    private List<StoreChannelVO> stores;

}
